const express = require('express');
const router = express.Router();
const sql = require('../db/index');

router.get('/custome', async (req, res) => {
    const { page, pageSize } = req.query;
    console.log("传递参数：", req.query);

    //计算偏移量
    const offset = (page - 1) * pageSize;

    //查询顾客信息

    res.send({
        code: 200,
        message: "获取客户信息成功",
        data: "顾客信息",
        total: 10
    })
})
module.exports = router;